package com.evil.common.account.dto.user.department;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
public class DeptUsersReqDTO {

    private Long enterpriseId;

    /**
     * 部门id
     */
    @NotNull(message = "id不能为空")
    private Long id;

    /**
     * id
     */
    @NotEmpty(message = "用户id不能为空")
    private List<Long> userIds;
}
